how to simplify an algebraic expression